package com.app.mapper;

import com.app.model.UnitsManagerModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UnitsManagerMapper extends BaseMapper<UnitsManagerModel> {
    //获取所有单位名称
    @Select("select name from lm_units_manager where del=0 order by id")
    List<String> getAllUnitsName();
}
